import service from '@/api/http'
export const project = {
    getProject(p) {
        return service.get('/project', {
            params: p
        })
    },
    addProject(p) {
        return service.put('/project/add', p)
    },
    updateProject(p) {
        return service.post('/project/update', p)
    },
    deleteProject(p) {
        return service.delete('/project/delete', {
            params: p
        })
    },
    getProjectCategory() {
        return service.get('/project/project_category')
    }
}